<!DOCTYPE  html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
        "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="ja" lang="ja">
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title>請求書</title>
    <style type="text/css">
    </style>
</head>
<body>
<div style="margin: 0 15%;">
    <table style="width: 100%">
        <tr>
            <td style="width: 100%">
                <table style="width: 100%">
                    <tr style="width: 50px">
                        <td align="left">
                            <div style="font-size: 35px;font-weight: 900"><b>請 求 書</b></div>
                        </td>
                        <td align="right">
                            <div>
                                <?php
                                $img = public_path()."/img/ecodraft_logo.jpg";
                                ?>
                                <img alt="トライシクル株式会社" style="width: 200px" src="{{$img}}"/>
                            </div>
                        </td>
                    </tr>
                </table>
            </td>
        </tr>
        <tr>
            <td style="width: 100%"><hr></td>
        </tr>
        <tr>
            <td style="width: 100%">
                <table style="width: 100%">
                    <tr>
                        <td align="center" style="width: 70%">
                            <div>
                                <p style="font-size: 19px">
                                    {{$sendMailName}} 御中
                                </p>
                            </div>
                        </td>
                        <td align="left" style="width: 20%">
                            <div style="font-size: 9px">
                                発行日：{{$sendMailDate}}<br><br>
                                トライシクル株式会社<br>
                                〒140-0013<br>
                                東京都品川区南大井<br>
                                6丁目17番17号<br>
                                TEL:03-5860-4136<br>
                            </div>
                        </td>
                        <td style="width: 10%">
                            <br><br>
                            <br>
                            <div>
                                <?php
                                $img = public_path()."/img/seal.jpg";
                                ?>
                                <img alt="トライシクル株式会社" style="width: 50px;" src="{{$img}}"/>
                            </div>
                        </td>
                    </tr>
                </table>
            </td>
        </tr>
        <tr>
            <td></td>
        </tr>
        <tr>
            <td style="width: 100%">
                <table style="width:100%">
                    <tr style="font-size: 9px">
                        <td style="width: 70%">
                            いつもエコドラフトをご利用いただきまして、誠にありがとうございます。<br>
                            下記のとおりご請求申し上げます。
                        </td>
                        <td align="left">
                            請求番号：{{$billing_number}}<br>
                            請求日：{{$requestDate}}
                        </td>
                    </tr>
                    <tr>
                        <td></td>
                    </tr>
                </table>
            </td>
        </tr>
        <tr style="font-size: 8px">
            <td style="width: 100%">
                <table style="width: 100%">
                    <tr>
                        <td style="width: 2%" rowspan="2"></td>
                        <td align="center" style="background-color: #434345;color: white;border-left:1px solid #434345;border-top:1px solid #434345;border-bottom:1px solid white;width: 18%">
                            <table>
                                <tr>
                                    <td></td>
                                </tr>
                                <tr style="font-size: 9px">
                                    <td>
                                        ご請求金額<br>
                                        (消費税込)
                                    </td>
                                </tr>
                                <tr>
                                    <td></td>
                                </tr>
                            </table>
                        </td>
                        <td align="right" style="font-size: 12px;border:1px solid #434345;width: 35%">
                            <table>
                                <tr>
                                    <td></td>
                                </tr>
                                <tr>
                                    <td>￥{{$totalMoney}}-&nbsp;&nbsp;</td>
                                </tr>
                                <tr>
                                    <td></td>
                                </tr>
                            </table>
                        </td>
                        <td rowspan="2" align="center" style="background-color: #434345;font-weight: bold;border-left:1px solid #434345;border-bottom:1px solid #434345;border-top:1px solid #434345;width: 15%;color:white">
                            <table>
                                <tr style="font-size: 9px">
                                    <td>
                                        <br><br><br>
                                        <br>
                                        振込先口座
                                    </td>
                                </tr>
                                <tr>
                                    <td></td>
                                </tr>
                                <tr>
                                    <td></td>
                                </tr>
                                <tr>
                                    <td></td>
                                </tr>
                            </table>
                        </td>
                        <td colspan="2" rowspan="2" style="border-top:0.5px solid #434345;border-right:0.5px solid #434345;border-bottom:0.5px solid #434345;width: 30%">
                            <table style="font-size: 9px">
                                <tr>
                                    <td></td>
                                </tr>
                                <tr>
                                    <td></td>
                                </tr>
                                <tr>
                                    <td>{{$bankName}} {{$bankBranch}}</td>
                                </tr>
                                <tr>
                                    <td>{{$bankType}}　{{$bankCode}}</td>
                                </tr>
                                <tr>
                                    <td>{{$career}}</td>
                                </tr>
                                <tr>
                                    <td></td>
                                </tr>
                            </table>
                        </td>
                    </tr>
                    <tr>
                        <td align="center" style="border-bottom:1px solid #434345;border-left:1px solid #434345;border-top:1px solid #434345; background-color: #434345;color: white">
                            <table style="font-size: 9px">
                                <tr>
                                    <td></td>
                                </tr>
                                <tr>
                                    <td>
                                        お支払い期限
                                    </td>
                                </tr>
                                <tr>
                                    <td></td>
                                </tr>
                            </table>
                        </td>
                        <td align="right" style="border-bottom:1px solid #434345;border:0.5px solid #8c9196">
                            <table style="font-size: 9px">
                                <tr>
                                    <td></td>
                                </tr>
                                <tr>
                                    <td>
                                        {{$requestDate}}&nbsp;&nbsp;
                                    </td>
                                </tr>
                                <tr>
                                    <td></td>
                                </tr>
                            </table>
                        </td>
                    </tr>
                </table>
            </td>
        </tr>
        <tr style="font-size: 8px">
            <td style="width: 100%">
                <table style="width:100%">
                    <tr>
                        <td></td>
                    </tr>
                    <tr style="font-size: 8px">
                        <td>
                            &nbsp;※請求明細をご確認のうえ、お振込期日までに上記口座へお振込みをお願い致します<br>
                            &nbsp;※お振込み手数料はお客様にてご負担をお願い致します
                        </td>
                    </tr>
                </table>
            </td>
        </tr>
        <tr>
            <td></td>
        </tr>
        <tr>
            <td>
                <table style="width: 100%">
                    <tr style="font-size: 8px">
                        <td style="width: 100%">
                            <div>
                                <div style="font-size: 1.5em;font-weight: 700">&nbsp;&nbsp;請求明細</div>
                                <br>
                                <table style="width: 100%;font-size: 9px;">
                                    <tr style="background-color: #d2d0d0;width: 100%">
                                        <th style="border-left:1px solid #434345;border-right:1px solid white;border-bottom:1px solid #d2d0d0;width: 55%;background-color: #434345;color: white">
                                            <table>
                                                <tr>
                                                    <td></td>
                                                </tr>
                                                <tr>
                                                    <td>&nbsp;プラン名</td>
                                                </tr>
                                                <tr>
                                                    <td></td>
                                                </tr>
                                            </table>
                                        </th>
                                        <th style="border-right:1px solid white;border-bottom:1px solid #d2d0d0;width: 10%;background-color: #434345;color: white">
                                            <table>
                                                <tr>
                                                    <td></td>
                                                </tr>
                                                <tr>
                                                    <td>単価</td>
                                                </tr>
                                                <tr>
                                                    <td></td>
                                                </tr>
                                            </table>
                                        </th>
                                        <th style="border-right:1px solid white;border-bottom:1px solid #d2d0d0;width: 10%;background-color: #434345;color: white">
                                            <table>
                                                <tr>
                                                    <td></td>
                                                </tr>
                                                <tr>
                                                    <td>数量</td>
                                                </tr>
                                                <tr>
                                                    <td></td>
                                                </tr>
                                            </table>
                                        </th>
                                        <th colspan="2" style="border-right:1px solid #434345;border-bottom:1px solid #d2d0d0;width: 25%;background-color: #434345;color: white">
                                            <table>
                                                <tr>
                                                    <td></td>
                                                </tr>
                                                <tr>
                                                    <td>金額</td>
                                                </tr>
                                                <tr>
                                                    <td></td>
                                                </tr>
                                            </table>
                                        </th>
                                    </tr>
                                    @if($companyType === 1)
                                        <tr>
                                        <td style="border-right:1px solid #8c9196;border-left:1px solid #434345;border-bottom:1px solid #d2d0d0">
                                            <table style="width: 100%">
                                                <tr>
                                                    <td></td>
                                                </tr>
                                                <tr>
                                                    <td>エコドラフト with クラウドサインスタンダードプラン(従量：通数)</td>
                                                </tr>
                                                <tr>
                                                    <td></td>
                                                </tr>
                                            </table>
                                        </td>
                                        <td align="right" style="border-right:1px solid #8c9196;border-bottom:1px solid #d2d0d0">
                                            <table>
                                                <tr>
                                                    <td></td>
                                                </tr>
                                                <tr>
                                                    <td> ￥{{$unitMoney}}&nbsp;&nbsp;</td>
                                                </tr>
                                                <tr>
                                                    <td></td>
                                                </tr>
                                            </table>
                                        </td>
                                        <td align="right" style="border-right:1px solid #8c9196;border-bottom:1px solid #d2d0d0">
                                            <table>
                                                <tr>
                                                    <td></td>
                                                </tr>
                                                <tr>
                                                    <td> {{$csvNumber}}&nbsp;&nbsp;</td>
                                                </tr>
                                                <tr>
                                                    <td></td>
                                                </tr>
                                            </table>
                                        </td>
                                        <td colspan="2" align="right" style="border-right:1px solid #434345;border-bottom:1px solid #d2d0d0">
                                            <table>
                                                <tr>
                                                    <td></td>
                                                </tr>
                                                <tr>
                                                    <td> ￥{{$usePrice}}&nbsp;&nbsp;</td>
                                                </tr>
                                                <tr>
                                                    <td></td>
                                                </tr>
                                            </table>
                                        </td>
                                    </tr>
                                        <tr>
                                        <td style="border-left:1px solid #434345;border-bottom:1px solid #434345;border-right:1px solid #8c9196;">
                                            <table style="width: 100%">
                                                <tr>
                                                    <td></td>
                                                </tr>
                                                <tr>
                                                    <td>エコドラフトwith クラウドサインスタンダードプラン(月額固定)</td>
                                                </tr>
                                                <tr>
                                                    <td></td>
                                                </tr>
                                            </table>
                                           </td>
                                        <td align="right" style="border-bottom:1px solid #434345;border-right:1px solid #8c9196;">
                                            <table>
                                                <tr>
                                                    <td></td>
                                                </tr>
                                                <tr>
                                                    <td>￥{{$memberPrice}}&nbsp;&nbsp;</td>
                                                </tr>
                                                <tr>
                                                    <td></td>
                                                </tr>
                                            </table>
                                        </td>
                                        <td align="right" style="border-bottom:1px solid #434345;border-right:1px solid #8c9196;">
                                            <table>
                                                <tr>
                                                    <td></td>
                                                </tr>
                                                <tr>
                                                    <td> 1&nbsp;&nbsp;</td>
                                                </tr>
                                                <tr>
                                                    <td></td>
                                                </tr>
                                            </table>
                                        </td>
                                        <td colspan="2" align="right" style="border-right:1px solid #434345;border-bottom:1px solid #434345">
                                            <table>
                                                <tr>
                                                    <td></td>
                                                </tr>
                                                <tr>
                                                    <td>￥{{$memberPrice}}&nbsp;&nbsp;</td>
                                                </tr>
                                                <tr>
                                                    <td></td>
                                                </tr>
                                            </table>
                                        </td>
                                    </tr>
                                    @else
                                        <tr>
                                            <td style="border-left:1px solid #434345;border-bottom:1px solid #434345;border-right:1px solid #8c9196;">
                                                <table style="width: 100%">
                                                    <tr>
                                                        <td></td>
                                                    </tr>
                                                    <tr>
                                                        <td>エコドラ単独プラン（月額固定）</td>
                                                    </tr>
                                                    <tr>
                                                        <td></td>
                                                    </tr>
                                                </table>
                                            </td>
                                            <td align="right" style="border-bottom:1px solid #434345;border-right:1px solid #8c9196;">
                                                <table>
                                                    <tr>
                                                        <td></td>
                                                    </tr>
                                                    <tr>
                                                        <td>￥{{$memberPrice}}&nbsp;&nbsp;</td>
                                                    </tr>
                                                    <tr>
                                                        <td></td>
                                                    </tr>
                                                </table>
                                            </td>
                                            <td align="right" style="border-bottom:1px solid #434345;border-right:1px solid #8c9196;">
                                                <table>
                                                    <tr>
                                                        <td></td>
                                                    </tr>
                                                    <tr>
                                                        <td> 1&nbsp;&nbsp;</td>
                                                    </tr>
                                                    <tr>
                                                        <td></td>
                                                    </tr>
                                                </table>
                                            </td>
                                            <td colspan="2" align="right" style="border-right:1px solid #434345;border-bottom:1px solid #434345">
                                                <table>
                                                    <tr>
                                                        <td></td>
                                                    </tr>
                                                    <tr>
                                                        <td>￥{{$memberPrice}}&nbsp;&nbsp;</td>
                                                    </tr>
                                                    <tr>
                                                        <td></td>
                                                    </tr>
                                                </table>
                                            </td>
                                        </tr>
                                    @endif
                                    <tr style="text-align: right">
                                        <td colspan="3" rowspan="3"></td>
                                        <td align="left" style="border-left:1px solid #8c9196;border-bottom:1px solid white;background-color: #434345;color: white;width: 8%">
                                            <table>
                                                <tr>
                                                    <td></td>
                                                </tr>
                                                <tr>
                                                    <td>小計</td>
                                                </tr>
                                                <tr>
                                                    <td></td>
                                                </tr>
                                            </table>
                                        </td>
                                        <td style="border-right:1px solid #434345;border-bottom:1px solid #8c9196;width: 17%">
                                            <table>
                                                <tr>
                                                    <td></td>
                                                </tr>
                                                <tr>
                                                    <td>￥{{$noTaxPrice}}&nbsp;&nbsp;</td>
                                                </tr>
                                                <tr>
                                                    <td></td>
                                                </tr>
                                            </table>
                                        </td>
                                    </tr>
                                    <tr style="text-align: right">
                                        <td align="left" style="font-weight: 600;border-bottom:1px solid white;background-color: #434345;color: white">
                                            <table>
                                                <tr>
                                                    <td></td>
                                                </tr>
                                                <tr>
                                                    <td>消費税</td>
                                                </tr>
                                                <tr>
                                                    <td></td>
                                                </tr>
                                            </table>
                                        </td>
                                        <td style="border-right:1px solid #434345;border-bottom:1px solid #8c9196">
                                            <table>
                                                <tr>
                                                    <td></td>
                                                </tr>
                                                <tr>
                                                    <td>￥{{$tax}}&nbsp;&nbsp;</td>
                                                </tr>
                                                <tr>
                                                    <td></td>
                                                </tr>
                                            </table>
                                        </td>
                                    </tr>
                                    <tr style="text-align: right">
                                        <td align="left" style="border-left:1px solid #8c9196;background-color: #434345;color: white">
                                            <table>
                                                <tr>
                                                    <td></td>
                                                </tr>
                                                <tr>
                                                    <td>合計</td>
                                                </tr>
                                                <tr>
                                                    <td></td>
                                                </tr>
                                            </table>
                                        </td>
                                        <td style="border-right:1px solid #434345;border-bottom:1px solid #434345;">
                                            <table>
                                                <tr>
                                                    <td></td>
                                                </tr>
                                                <tr>
                                                    <td>￥{{$totalMoney}}&nbsp;&nbsp;</td>
                                                </tr>
                                                <tr>
                                                    <td></td>
                                                </tr>
                                            </table>
                                        </td>
                                    </tr>
                                </table>
                            </div>
                        </td>
                    </tr>
                </table>
            </td>
        </tr>
    </table>
</div>

</body>
</html>
